Update dependency electron to v42#463
Open
renovate[bot] wants to merge 1 commit intomasterfrom
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^41.5.0→^42.0.0Release Notes
electron/electron (electron)
v42.0.0: electron v42.0.0Compare Source
Release Notes for v42.0.0
Features
ELECTRON_INSTALL_PLATFORMandELECTRON_INSTALL_ARCHvariables to install binaries from other platforms and architectures. #49981Notification.getHistory()for macOS, allowing developers to restore all delivered notifications still present in Notification Center. #51123allowExtensionsprivilege toprotocol.registerSchemesAsPrivileged()to enable Chrome extensions on custom protocols. #50530 (Also in 40, 41)app.configureWebAuthn()to enable the Touch ID platform authenticator for WebAuthn on macOS, and aselect-webauthn-accountsession event for choosing between multiple discoverable credentials. #51411 (Also in 41)app.isActive()to check if the app is the active/foreground application (macOS only). #49622globalShortcut.setSuspended()andglobalShortcut.isSuspended()methods to temporarily suspend and resume global shortcut handling. #50777idandgroupIdoptions to the Notification constructor on macOS.idallows custom identifiers for notifications, andgroupIdvisually groups notifications together in Notification Center. #50304webContents.getOrCreateDevToolsTargetId(). #49733 (Also in 41)disclaimoption to the UtilityProcess API to allow for TCC disclaiming on macOS. #49128 (Also in 39, 40, 41)reasonproperty to the Notification 'closed' event on Windows to allow developers to know the reason the Notification was dismissed. #49913 (Also in 40, 41)usePrinterDefaultPageSizeoption towebContents.print()to allow using the printer's default page size. #49523 (Also in 41)view.setBoundsand addview.setBackgroundBlur. #48812--experimental-transform-types. #49711 (Also in 39, 40, 41)long-animation-framescript attribution (via--enable-features=AlwaysLogLOAFURL). #49706 (Also in 39, 40, 41)contentTracing.enableHeapProfiling(). #51162 (Also in 41)safeStoragebackends via new asynchronous functionality in safeStorage. #49054webPreferences.focusOnNavigation. #49425 (Also in 40, 41)1.0fas default. #49683node_modulesdynamically on first launch instead of running apostinstallscript. Added theinstall-electronscript to manually trigger the download as well. #49328WasmTrapHandlersfuse. #48983 (Also in 41)urgencyoption in Notifications on Windows. #50383 (Also in 41)hasShadow: falsein the window constructor. #49295 (Also in 41)Fixes
fscopy methods. #50285 (Also in 39, 40, 41)metadatafields tocontentTracingtraces. #51007 (Also in 41)CoreAudio Tap APIfor audio capture used in electron'sdesktopCapturer(🍏 macOS). #49717 (Also in 39, 40, 41)kResizeThresholdto trigger the resize on corners. #51001 (Also in 41)fetch()and XHR are blocked for custom protocols registered withsupportFetchAPI: trueunlesscorsEnabled: trueis also set; cross-originmode: 'no-cors'requests now receive an opaque response. #51269 (Also in 39, 40, 41)ps aux. #50533fs.staton files inside asar archives returningundefinedforblksizeandblocksinstead of numeric values. #50877 (Also in 40, 41)globalShortcutnot working on Wayland withGlobalShortcutsPortalfeature enabled. #49842 (Also in 40, 41)webContents.printToPDFrejecting on all subsequent calls after a prior call was rejected with an invalidpageRangesvalue. #51222 (Also in 40, 41)webRequest.onBeforeSendHeaders()callback. #51366 (Also in 40, 41)webPreference.offscreen.deviceScaleFactorto allow user specify a value, instead of using user's primary display's value. #48730 (Also in 40, 41)clipboard.readImage()when the clipboard contains malformed image data. #50494 (Also in 39, 40, 41)contentTracing.getTraceBufferUsage()while a trace session is active. #50592 (Also in 39, 40, 41)release()after the texture object was garbage collected. #50502 (Also in 39, 40, 41)webContents.print(). #50853setResizable. #51296 (Also in 41)<geolocation>HTML element. #51374 (Also in 41)Invoke in DisallowJavascriptExecutionScopecrash on application quit when aWebContents(or other JS-emitting native object) is garbage-collected during shutdown. #50695 (Also in 40, 41)chrome://accessibility. #49547 (Also in 39, 40, 41)UnhookWindowsHookExfailure insetIgnoreMouseEvents(true, { forward: true })teardown could cause duplicate low-level mouse hooks to be installed on the next activation. #51418 (Also in 41)app.on('continue-activity')on cold launch whenNSUserActivity.userInfowas nil. #49986 (Also in 39, 40, 41)show/hideevents andWebContentsvisibility state could be reported incorrectly when multipleWebContentsViews were attached to a window. #50712 (Also in 40, 41)autoUpdater.quitAndInstall()could fail ifcheckForUpdates()was called again after an update was already downloaded. #50210 (Also in 39, 40, 41)VideoFrameobjects returned throughcontextBridgehad an incorrect prototype. #49997 (Also in 39, 40, 41)additionalDatapassed toapp.requestSingleInstanceLockon Windows could be truncated or fail to deserialize in the primary instance'ssecond-instanceevent. #50119 (Also in 38, 39, 40, 41)app-region: draginside a hiddenWebContentsViewwould still drag the parent window on Windows. #51245 (Also in 40, 41)net.fetch()requests in the main process and utility processes would permanently fail withnet::ERR_FAILEDafter the Network Service process crashed and restarted. #49887nodeIntegrationInWorkerdidn't always work in AudioWorklet. #51005 (Also in 40, 41)nodeIntegrationInWorkeroverrides insetWindowOpenHandlerwere not honored for child windows sharing a renderer process with their opener. #50122 (Also in 38, 39, 40, 41)screen.getCursorScreenPoint()crashed on Wayland when it was called before aBrowserWindowhad been created. #50092 (Also in 39, 40, 41)setSimpleFullScreenon macOS would exit when web content calledrequestFullscreen(). #50987 (Also in 40, 41)shell.writeShortcutLinkwas throwingTypeError: Insufficient number of argumentswhen called with just[(path, options)]. #49476 (Also in 39, 40, 41)contentTracingAPIs beforeapp.whenReady()would crash the application. #51353 (Also in 41)setBoundson aWebContentsViewcould trigger redundantpage-favicon-updatedevents even when the favicon had not changed. #49464 (Also in 39, 40, 41)getFileHandlerequests on the same path could stall indefinitely. #50671 (Also in 40, 41)webContents.print()did not prefill the print dialog on macOS. #50643toastXmlcould cause a Notification crash. #49947 (Also in 40, 41)nullfor their accelerator property. #49558 (Also in 39, 40, 41)zoomFactorinsetWindowOpenHandler'soverrideBrowserWindowOptionshad no effect on windows opened viawindow.open(). #49886 (Also in 39, 40, 41)shellfunctionality may not work on Linux if the target window is already open. #49499 (Also in 41)webContents.print()callback may not fire correctly in some cases. #50603 (Also in 41)trafficLightPositionfrom minimization on macOS. #50183 (Also in 39, 40, 41)always-on-top-changedeven to fire with incorrect values. #51133 (Also in 40, 41)contenteditableelements. #51344 (Also in 40, 41)enable_pdfdisabled. #51249 (Also in 41)app.setPath('sessionData')was called with a non-existent directory. #50908 (Also in 41)setResizable(false)followed bysetResizable(true). #51218 (Also in 41)win.setFullScreen(false)when not in fullscreen on Linux. #45930 (Also in 39, 40, 41)menu-will-closeevent when closed after any submenu has been open. #49783 (Also in 40, 41)frame: false, matching the behavior for windows with frames. #50864 (Also in 41)resizableisfalse. Windows no longer shrink below the requested max size or grow taller when resizability is disabled. #49903 (Also in 41)globalShortcutAPI. #49988 (Also in 41)desktopNameis not provided inpackage.json. #51479 (Also in 41)Other Changes
4835695. #49788gn genfailing to resolveelectron_versionwhen building from agit worktreecheckout. #51166 (Also in 39, 40, 41)Documentation
Unknown
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.